
import { App} from '@vue/composition-api'
import beTooltip from './src/be-tooltip.vue'
import type { SFCWithInstall } from '@/types/common-type'
import {IComponentIns} from "@/types/common-type";

/**
 * 组件装载方法
 * @param app
 */
const tooltip = beTooltip as IComponentIns
tooltip.install = (app:App): void => {
    app.component(tooltip.name,tooltip)
}
const BeTooltip = tooltip as SFCWithInstall<typeof tooltip>
export default BeTooltip